package com.app.micaihu.configure;

/**
 * Created by Guo on 2016/7/13.
 * 接口定义类
 */
public class URIContant {

    /***************************
     * 测试用通用接口
     **************************************/

    //测试域名
//    public static final String REALMNAME = "http://114.55.72.222:8020";
    //H5测试域名
//    public static final String H5_NAME = "http://114.55.72.222:8040";
    //--------------------------------------------------------------  //
    //正式域名
    public static final String REALMNAME = "http://api.micaiying.com";
    //H5正式域名
    public static final String H5_NAME = "http://app.micaiying.com";
    /***********默认url start **************/
    public static final String PROMOTIONPAGE = "m.micaihu.cn";//推广页面

    //推广logo
    //public static final String SHARE_LOGO= "http://page.we630.com/app/images/logo.png";
    public static final String SHARE_LOGO = "http://app.micaiying.com/app/images/logo.png";//推广logo
//    public static final String SHARE_LOGO= "http://statics.micaiying.com/app/common/icon.png";//推广logo

    /***********默认url end **************/

    /************** 其他URL ***********/
    public static final String LUNCH = REALMNAME + "/sys/appStartUp";//开屏配置
    public static final String VERSION = REALMNAME + "/sys/versionInfo";//版本更新
    public static final String GAME_DOWN = REALMNAME + "/sys/appSilentAd";//开屏配置
    public static final String channel = REALMNAME + "/sys/channel";//开屏配置

    /*************
     * 新闻相关 start
     *************/
    public static final String NEWSCHANNEL = REALMNAME + "/news/navList";//新闻栏目

    public static final String NEWSLIST = REALMNAME + "/news/newsList";//新闻列表

    public static final String NEWSDETAIL = REALMNAME + "/news/newArcDetail";//新闻详情

    public static final String NEWSCOMMENTLIST = REALMNAME + "/comment/newCmtList";//新闻评论列表

    public static final String NEWSCOMMENTDETAIL = REALMNAME + "/comment/commentDetail";//评论详情

    public static final String PARISELIST = REALMNAME + "/comment/praiseList";//点赞列表(新闻和话题都用这个接口)

    public static final String NEWS_ZAN = REALMNAME + "/comment/praise";//文章和评论点赞

    public static final String NEWS_REPORT = REALMNAME + "/comment/report";//文章和评论举报

    public static final String NEWS_SENDCOMMENT = REALMNAME + "/comment/publishComment";//发表评论

    public static final String NEWS_COLLECT_ADD = REALMNAME + "/my/addFavorite";//收藏新闻

    public static final String NEWS_COLLECT_DELETE = REALMNAME + "/my/delFavorites";//删除收藏

    public static final String IMAGEDETAIL = REALMNAME + "/news/galleryDetail";//图片详情

    public static final String IMAGEABOUT_CHANGE = REALMNAME + "/news/galleryList";//图片详情->换一换

    public static final String VIDEO_DETAIL = REALMNAME + "/news/videoDetail";//视频详情

    public static final String VIDEO_LIST = REALMNAME + "/video/videoColumn";//视频列表

    public static final String VIDEO_ROOM = REALMNAME + "/video/svideoList";//视频讲堂

    public static final String VIDEO_ROOM_LIST = REALMNAME + "/video/revisionVideo";//新视频

    public static final String VIDEO_ROOM_LIST_CHANGE = REALMNAME + "/video/randOriginal";//新视频换一批

    public static final String VIDEO_RANKING = REALMNAME + "/video/rankList";//视频排行榜

    public static final String VIDEO_SHOW_LIST = REALMNAME + "/video/videoList";//剧集视频列表

    public static final String TOPIC_RECOMMEND = REALMNAME + "/topic/recommendTopic";//推荐话题


    public static final String TOPIC_ALL_LIST = REALMNAME + "/topic/topicList";//全部话题

    public static final String TOPIC_MY_FLLOW = REALMNAME + "/my/myFollowTopic";//关注的话题

    public static final String NEWS_SEARCH_HOT = REALMNAME + "/news/hotWords";//搜索热词

    public static final String NEWS_SEARCH = REALMNAME + "/news/newsSearch";//搜索

    public static final String NEWS_RECOMMEND = REALMNAME + "/news/editorCommend";  //小编特荐

    //2.0.2版本 小编推荐 接口
    public static final String NEWS_NEW_RECOMMEND = REALMNAME + "/news/newEditorCmd";


    //测试-分享统计
    //public static final String NEWS_SHARE_COUNT = "http://mapi.we630.com/my/share";
    //正式分享统计
    public static final String NEWS_SHARE_COUNT = REALMNAME + "/my/share";


    public static final String NEWS_READ_TASK = REALMNAME + "/my/read";

    public static final String GAME_DOWNLOAD_TASK = REALMNAME + "/my/gameDownload";
    //新闻专题
    public static final String TOPICS_NEWS = REALMNAME + "/news/specialList";


    /*************新闻相关 end *************/

    /*************评论相关 start *************/

    //删除评论功能
    public static final String DELETE_COMMENT = REALMNAME + "/my/delComment";


    /*************评论相关 end *************/


    /************* * 话题 start*************/

    //话题详情
    public static final String TOPIC_DETAIL = REALMNAME + "/topic/topicDetail";

    //帖子详情
    public static final String TOPIC_POST_DETAIL = REALMNAME + "/topic/cmtDetail";

    //2014——版本的 帖子详情接口
    public static final String TOPIC_POST_DETAIL_2014 = REALMNAME + "/topic/newCmtDetail";


    public static final String TOPIC_POST_DETAIL_2052 = REALMNAME + "/topic/firstCmtDetail";//无话题对象一级帖子详情页

    public static final String TOPIC_POST_COMMENT_DETAIL_2052 = REALMNAME + "/topic/secondCmtDetail";//无话题对象二级帖子详情页

    public static final String POST_LIST = REALMNAME + "/topic/cmtList";//205_新的 话题帖子列表

    //2014---版本 帖子详情中的 评论详情----二级帖子详情页
    public static final String TOPIC_POST_COMMENT_DETAIL = REALMNAME + "/topic/topicScmtDetail";


    //话题留言
    public static final String TOPIC_POST_LEAVEMSG = REALMNAME + "/topic/leaveMsg";

    //话题留言
    public static final String TOPIC_POST_LEAVEMSG_2052 = REALMNAME + "/topic/leaveWords";


    public static final String TOPIC_ATTENTION = REALMNAME + "/topic/attentionTopic";


    /************* * 话题 end*************/


    /************* * 用户信息 start*************/

    //用户字段
    public static final String USER = "/user";

    //验证码字段
    public static final String CODE = "/captcha";

    //任务中心字段
    public static final String TASKCENTER = "/taskcenter";

    //我的字段
    public static final String MY = "/my";

    //系统更新字段
    public static final String SYS = "/sys";


    /************* * 个人中心 start*************/

    //评论我的
    public static final String COMMENT_ME = REALMNAME + MY + "/CommentOnme";
    //我的评论
    public static final String MY_COMMENT = REALMNAME + MY + "/myCommentList";
    //我的收藏
    public static final String MY_COLLECTION = REALMNAME + MY + "/collectionList";
    //我的主页
    public static final String MY_HOMEN_PAGE = REALMNAME + MY + "/personalHome";

    //我的主页-话题动态
    public static final String MY_HOMEN_PAGE_TOPIC = REALMNAME + MY + "/topicDynamic";


    //拉黑动作
    public static final String OPRATION_DEFRIEND = REALMNAME + MY + "/operateBlack";


    //黑名单列表
    public static final String BLACKLIST_LIST = REALMNAME + MY + "/blackList";


    //作者相关文章 list的页面
    public static final String MY_HOMEN_AUTHOR_PAGE = REALMNAME + MY + "/authorArcList";

    //消息列表
    public static final String MESSAGE_LIST = REALMNAME + MY + "/informMsg";
    //首页中请求的消息数量
    public static final String UPDATE_MSG = REALMNAME + MY + "/myMsgNum";


    //1.0.3版本的消息 中心的列表接口
    public static final String MESSAGE_CENTER = REALMNAME + MY + "/msgPage";


    //勋章未读
    public static final String MESSAGE_MEDAL = REALMNAME + MY + "/medal";

    //关注和粉丝列表
    public static final String ATTENTION_FANS = REALMNAME + MY + "/myAttention";

    //关注/取消关注
    public static final String ATTENTION_OR_NO = REALMNAME + MY + "/follow";

    //原创和消息的小红点的接口
    public static final String MSG_REDDOT = REALMNAME + MY + "/redHot";
    /************* * 个人中心 end*************/


    /************* * 账号信息相关 start*************/
    //登录
    public static final String LOGIN = REALMNAME + USER + "/login";
    //注册
    public static final String REGISTER = REALMNAME + USER + "/register";
    //修改密码
    public static final String CHANGE_PASSWORD = REALMNAME + USER + "/changePassword";
    //修改手机号
    public static final String CHANGE_PHONE = REALMNAME + USER + "/changeMobile";
    //绑定手机号
    public static final String BIND_PHONE = REALMNAME + USER + "/boundMobile";
    //修改昵称
    public static final String EDIT_NICKNAME = REALMNAME + USER + "/editNickname";

    public static final String EDIT_SIGNATURE = REALMNAME + USER + "/editSign";

    //伪登录
    public static final String WEILOGIN = REALMNAME + USER + "/weiLogin";

    //发送验证码
    public static final String SEND_CODE = REALMNAME + USER + "/sendCode";

    //验证验证码
    public static final String CHECK_CODE = REALMNAME + USER + "/checkCaptcha";

    //验证手机号
    public static final String CHECK_MOBILE = REALMNAME + USER + "/checkMobile";

    //上传文件
    public static final String UP_FILE = REALMNAME + USER + "/upFile";
    //头像列表
    public static final String AVATER_LIST = REALMNAME + USER + "/defaultHeadList";
    //头像列表选择头像
    public static final String AVATER_LIST_UP = REALMNAME + USER + "/changeHead";

    /************* * 账号信息相关 end*************/


    /************* * 任务相关 start*************/
    //任务接口
    //public static final String TASK = REALMNAME + TASKCENTER + "/taskIndex";

    //作战中心 --测试接口
    public static final String TASK = REALMNAME + TASKCENTER + "/fightCenter";

    public static final String SUBMITINVITECODE = REALMNAME + "/user/submitInviteCode";//提交邀请码

    //签到动作
    public static final String SIGNIN = REALMNAME + TASKCENTER + "/daySign";

    //副官
    public static final String ADJUTANT = REALMNAME + TASKCENTER + "/randTaskMsg";

    //领取奖励的接口
    public static final String GETREWARD = REALMNAME + TASKCENTER + "/getReward";

    //邀请好友的url
    public static final String INVITE_COUNT = REALMNAME + MY + "/inviteFriends";//邀请统计


    //获取微信邀请码
    public static final String REQUEST_WXCODE = REALMNAME + TASKCENTER + "/wxInviteCode";//邀请统计


    //征兵奖励
    public static final String REQUEST_CONSCRIPTION = REALMNAME + TASKCENTER + "/levySoldier";//邀请统计


    /************* * 任务相关 end*************/

    /************* 用户信息 end *************/


    /************* h5接口 start*************/
    //H5字段 http://page.we630.com/app/web/login.html

    //H5字段
//    public static final String H5 = "/app/web";

    //h5字段 的任务字段
    public static final String H5_TASK = "/app/task";

    public final static String TASK_PRIZE = H5_NAME + "/mc/sign?uid=";//签到抽奖的H5页面

    public final static String ABOUT_WE = H5_NAME + H5_TASK + "/about";//关于我们

    public final static String AGREEMENT = H5_NAME + H5_TASK + "/agreement";//用户协议

    public final static String COMMON_PROBLEM = H5_NAME + H5_TASK + "/problem";//常见问题

    public final static String TASK_WECHAT = H5_NAME + H5_TASK + "/wechat";//关注微信

    public final static String MILITARY_RANK = H5_NAME + H5_TASK + "/grade";//军衔等级

    public final static String TASK_INVITE = H5_NAME + "/mc/levySolider?uid=";//邀请好友

    public final static String TASK_SHARE = H5_NAME + H5_TASK + "/share";//分享任务详情

    public final static String TASK_COMMENT = H5_NAME + H5_TASK + "/reply";//评论任务详情

    public final static String TASK_GAMEDOWNLOAD = H5_NAME + H5_TASK + "/gameDownload";//下载游戏任务详情

    public final static String TASK_SIGNIN = H5_NAME + H5_TASK + "/sign";//签到任务详情

    public final static String TASK_LOGIN = H5_NAME + H5_TASK + "/login";//登录任务详情

    public final static String TASK_READ = H5_NAME + H5_TASK + "/read";//阅读任务详情

    public final static String TASK_SIGN7DAY = H5_NAME + H5_TASK + "/sevenday";//七天签到的h5

    public final static String TASK_SIGN30DAY = H5_NAME + H5_TASK + "/thirtyday";//30天签到的h5

    public final static String TASK_INVITE10 = H5_NAME + H5_TASK + "/inviteten";//邀请10人好友的h5


    //征兵的H5页面
    public static final String TASK_CONSCRIPTION = H5_NAME + "/mc/levySolider?uid=";//征兵的H5


    //征兵 :我的士兵 H5
    public static final String TASK_CONSCRIPTION_MYSOLOIDER = H5_NAME + "/mc/mySolider?uid=";//征兵的H5

    /************* h5接口 end*************/

    /***************关于游戏 start ************/

    public final static String GAME_RAIDERS_LIST = REALMNAME + "/game/strategyList";//攻略列表
    public final static String GAME_CENTER_LIST = REALMNAME + "/game/gameCenter";//游戏中心
    public static final String GAME_RAIDERS_DETAIL = REALMNAME + "/game/gameStrategy";//游戏攻略详情
    public static final String GAME_VIDEO_COMMENT = REALMNAME + "/comment/commentList";//游戏视频评论(下载)
    public static final String GAME_VIDEO_DETAIL = REALMNAME + "/news/gameDetail";//游戏视频详情(下载)
    public final static String GAME_GRADE_SCALE = REALMNAME + "/game/gradeScale";//游戏评分详情
    public final static String GAME_RANKING = REALMNAME + "/game/rankList";//游戏排名


    /***************关于游戏 end ************/


    //活动
    public final static String ACTIVITY_HUODONG = REALMNAME + "/user/userActivity";


    /********* 关于广告 ***********/
    public final static String AD_STATISTICS = REALMNAME + "/sys/adLog";//广告点击统计
    public final static String GAME_STATISTICS = REALMNAME + "/sys/downLog";//游戏统计



}
